<?php


namespace Part25_ResponsibilityChainModel\Code2;

require_once '../../autoload.php';

$unsc = new UnitedNationSecurityCouncil();

$c1 = new USA($unsc);
$c2 = new Iraq($unsc);

$unsc->setColleague1($c1);
$unsc->setColleague2($c2);

$c1->declare('不准研制核武器，否则要发动战争！');
$c2->declare('我们没有核武器。');
